package com.pand.mysql.model;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by lh on 2017/11/14.
 */
@Entity
@Table(name = "t_track")
public class Track implements Serializable {
    @Id
    private String id;
    private String vin;
    private String license;
//    private Long orderId;
    private Double longitude;
    private Double latitude;
    private Date gpsTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

//    public Long getOrderId() {
//        return orderId;
//    }
//
//    public void setOrderId(Long orderId) {
//        this.orderId = orderId;
//    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Date getGpsTime() {
        return gpsTime;
    }

    public void setGpsTime(Date gpsTime) {
        this.gpsTime = gpsTime;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }
}
